home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13344 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: FreeNet.Carleton.CA!ah956
  2. From: ah956@FreeNet.Carleton.CA (Susheel Jalali)
  3. Newsgroups: comp.lang.c++
  4. Subject: cannot lookup method in incomplete type `Machine'
  5. Date: 24 Mar 1996 09:35:45 GMT
  6. Organization: National Capital Freenet, Ottawa, Canada
  7. Sender: ah956@freenet.carleton.ca (Susheel Jalali)
  8. Message-ID: <4j351h$hdf@freenet-news.carleton.ca>
  9. NNTP-Posting-Host: freenet.carleton.ca
  10.  
  11. Hi All,
  12.  
  13. I am calling a member function of an already compiled
  14. class Machine, but when I compile the calling class I get the
  15. following error:
  16.  
  17.  
  18. Compiling Machine.o
  19. In file included from Machine.h:27,
  20.                  from Machine.cc:11:
  21. Network.h:29: warning: template `Queue<MessageCarrier *>::Queue()' instantiated in file without #pragma interface
  22. Compiling MachineShop.o
  23. In file included from Machine.h:27,
  24.                  from MachineShop.cc:29:
  25. Network.h:29: warning: template `Queue<MessageCarrier *>::Queue()' instantiated in file without #pragma interface
  26. Compiling Network.o
  27. In file included from Network.cc:7:
  28. Network.h:29: warning: template `Queue<MessageCarrier *>::Queue()' instantiated in file without #pragma interface
  29. Network.cc: In method `void Network::endOfService()':
  30. Network.cc:109: cannot lookup method in incomplete type `Machine'
  31.  
  32.  
  33. I would like to know the meaning of the two errors:
  34.  
  35. Network.h:29: warning: template 
  36. `Queue<MessageCarrier *>::Queue()' instantiated 
  37. in file without #pragma interface
  38. Compiling MachineShop.o
  39.  
  40. and,
  41.  
  42. cannot lookup method in incomplete type `Machine'
  43.  
  44. Thanks,
  45.  
  46. SJ
  47.